package com.js.foodordersystem.mapper;

import com.js.foodordersystem.entity.Order;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author scj
 * @email scj0725@qq.com
 * @create 2025-01-09 10:52:49
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {

    List<Map<String, Object>> selectAll(@Param("order") Order order, @Param("limit") Integer limit, @Param("page") Integer page);

    Long selectAllCount(@Param("order") Order order);
}

